SelectableElement

interface SelectableElement : Selectable, Element

Marks an element as both Selectable and an Element. It should be safe to cast something that is separately both an Element and Selectable to this.

Author

fzzyhmstrs

Since

0.6.0

Functions

Link copied to clipboard
abstract fun appendNarrations(builder: NarrationMessageBuilder)
Link copied to clipboard
open fun charTyped(input: CharInput): Boolean
Link copied to clipboard
open fun getBorder(direction: NavigationDirection): ScreenRect
Link copied to clipboard
open fun getFocusedPath(): @Nullable GuiNavigationPath
Link copied to clipboard
open fun getNarratedParts(): MutableCollection<out Selectable>
Link copied to clipboard
open fun getNavigationFocus(): ScreenRect
Link copied to clipboard
Link copied to clipboard
open fun getNavigationPath(navigation: GuiNavigation): @Nullable GuiNavigationPath
Link copied to clipboard
abstract fun getType(): Selectable.SelectionType
Link copied to clipboard
open fun isClickable(): Boolean
Link copied to clipboard
abstract fun isFocused(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isMouseOver(mouseX: Double, mouseY: Double): Boolean
Link copied to clipboard
open fun keyPressed(input: KeyInput): Boolean
Link copied to clipboard
open fun keyReleased(input: KeyInput): Boolean
Link copied to clipboard
open fun mouseClicked(click: Click, doubled: Boolean): Boolean
Link copied to clipboard
open fun mouseDragged(click: Click, offsetX: Double, offsetY: Double): Boolean
Link copied to clipboard
open fun mouseMoved(mouseX: Double, mouseY: Double)
Link copied to clipboard
open fun mouseReleased(click: Click): Boolean
Link copied to clipboard
open fun mouseScrolled(mouseX: Double, mouseY: Double, horizontalAmount: Double, verticalAmount: Double): Boolean
Link copied to clipboard
abstract fun setFocused(focused: Boolean)